﻿<UserControl x:Class="iStudio.Control.Audio.SelectionControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:iStudio="http://schemas.arvystate.net/2012/presentation/iStudio"
             mc:Ignorable="d" 
             d:DesignHeight="80" d:DesignWidth="300">
    <Border Background="{StaticResource ControlBackgroundBrush}" CornerRadius="5">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <TextBlock Grid.Row="1" Text="Selection" Foreground="#FFCFCFCF" Margin="10,5,0,5" />
            <TextBlock Grid.Row="2" Text="View" Foreground="#FFCFCFCF" Margin="10,5,0,5" />

            <TextBlock Grid.Column="1" Text="Start" Foreground="#FFCFCFCF" Margin="0,5,0,5" />
            <TextBlock Grid.Column="2" Text="End" Foreground="#FFCFCFCF" Margin="0,5,0,5" />
            <TextBlock Grid.Column="3" Text="Duration" Foreground="#FFCFCFCF" Margin="0,5,0,5" />
            
            <iStudio:TimeSelector Grid.Row="1" Grid.Column="1" Name="selectionStart" HorizontalAlignment="Left" />
            <iStudio:TimeSelector Grid.Row="1" Grid.Column="2" Name="selectionEnd" HorizontalAlignment="Left" />
            <iStudio:TimeSelector Grid.Row="1" Grid.Column="3" HorizontalAlignment="Left" />

            <iStudio:TimeSelector Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" />
            <iStudio:TimeSelector Grid.Row="2" Grid.Column="2" HorizontalAlignment="Left" />
            <iStudio:TimeSelector Grid.Row="2" Grid.Column="3" HorizontalAlignment="Left" />
        </Grid>
    </Border>
</UserControl>
